#!/bin/bash
res=`ls -A Empty`
res=`ls -A NotEmpty`
echo "res is: ${res}"
if [[ -z $res ]]; then
  echo "$dir 为空目录.................."
else
  echo "$dir 不为空...................."
fi




